﻿using System;
using System.Collections.Generic;
using System.Text;
using Model;
using System.Data;
using System.Data.SqlClient;
using HT.DAL;

namespace BLL
{
  public   class SpdaHBLL
    {
        private readonly Dal_SpdaH_1 dal = new Dal_SpdaH_1();

        public SpdaHBLL()
      { }

      #region  Method


 
      /// <summary>
      /// 更新一条数据
      /// </summary>
      public bool Update(SpdaHModel model)
      {
            return dal.Update(model);
        }



      /// <summary>
      /// 得到一个对象实体
      /// </summary>
      public SpdaHModel GetModel(string spbh)
      {
            return dal.GetModel(spbh);
        }
 
      /// 获得数据列表
      /// </summary>
      public DataTable GetList(string strWhere)
      {
            return dal.GetList(strWhere);
        }

      /// 获得数据列表
      /// </summary>
      public DataTable GetList(string strWhere,ref string sql)
      {
            return dal.GetList(strWhere, ref   sql);
        }

      #endregion  Method

    }
}
